
<template>
  <div class="mnue">
    <el-menu default-active="2" class="el-menu-vertical-demo">
      <el-submenu index="1">
        <template slot="title"><i class="el-icon-message"></i>直播管理</template>

        <router-link :to="{path:'/liveManager/live'}"> <el-menu-item index="1-1">直播管理 </el-menu-item></router-link>

      </el-submenu>
      <el-submenu index="2">
        <template slot="title"><i class="el-icon-message"></i>申请管理</template>
        <router-link :to="{path:'/applyManager/apply'}"> <el-menu-item index="2-1">申请管理</el-menu-item></router-link>
      </el-submenu>
      <el-submenu index="3">
        <template slot="title"><i class="el-icon-message"></i>公司管理</template>
        <router-link :to="{path:'/companyManager/company'}"><el-menu-item index="3-1">公司管理</el-menu-item></router-link>
        <router-link :to="{path:'/companyManager/thirdPartyBinding'}"><el-menu-item index="3-2">第三方绑定</el-menu-item></router-link>
        <router-link :to="{path:'/companyManager/CMS'}"><el-menu-item index="3-3">CMS人员管理</el-menu-item></router-link>
        <router-link :to="{path:'/companyManager/journalist'}"><el-menu-item index="3-4">记者人员管理</el-menu-item></router-link>
      </el-submenu>
      <el-submenu index="4">
        <template slot="title"><i class="el-icon-message"></i>账户管理</template>
        <router-link :to="{path:'/acountManager/passworldModify'}"><el-menu-item index="4-1">修改密码</el-menu-item></router-link>
      </el-submenu>
      <el-submenu index="5">
        <template slot="title"><i class="el-icon-message"></i>系统管理</template>
        <router-link :to="{path:'/SystemManager/adminLog'}"><el-menu-item index="5-1">管理日志</el-menu-item></router-link>
      </el-submenu>
      <el-submenu index="6">
        <template slot="title"><i class="el-icon-message"></i>多屏监看</template>
        <router-link :to="{path:'/MoreScreenMonitor/index'}"><el-menu-item index="6-1">多屏监看</el-menu-item></router-link>
      </el-submenu>
      <el-submenu index="7">
        <template slot="title"><i class="el-icon-message"></i>活动管理</template>
        <router-link :to="{path:'/activityManager/activity'}"><el-menu-item index="7-1">活动管理</el-menu-item></router-link>
        <router-link :to="{path:'/activityManager/opinionResearch'}"><el-menu-item index="7-2">意见调研</el-menu-item></router-link>
        <router-link :to="{path:'/activityManager/prize'}"><el-menu-item index="7-3">奖品管理</el-menu-item></router-link>
        <router-link :to="{path:'/activityManager/winPrize'}"><el-menu-item index="7-4">中奖管理</el-menu-item></router-link>
      </el-submenu>
      <el-submenu index="8">
        <template slot="title"><i class="el-icon-message"></i>统计</template>
        <router-link :to="{path:'/statistics/statistics'}"><el-menu-item index="8-1">常规统计</el-menu-item></router-link>
      </el-submenu>

    </el-menu>
  </div>
</template>


<script>
  export default {
    data () {
      return {
        userInfo: {
          userName: 'admin',
          passWorld: 123456
        },
        rules: {
          user: [
            { required: true, message: '请输入登录名', trigger: 'blur' }
          ],
          pass: [
            { required: true, message: '请输入密码', trigger: 'blur' }
          ]
        }
      };
    },
    methods: {
    },
    components: {},
    created: function () {
    }
  };
</script>

<!-- Add "scoped" attribute to limit CSS to this component only -->
<style scoped>
  .loginBox{
    width: 500px;
    min-width: 348px;
    min-height: 178px;
    margin: 200px auto 0 auto;
    padding: 20px;
    border-radius: 22px;
    box-shadow: 0 1px 2px rgba(0,0,0,.22);
    background-color: #ffffff;
  }
  .mnue{
    position: absolute;
    width: 250px;
    height: 100%;
    float: left;
    background: #eef1f6;
    overflow-y: scroll;
  }

</style>
